package dao;

import java.util.List;

import entity.User;

public interface IUserDao {

	public abstract void saveUser(User transientInstance);

	public abstract void delete(User persistentInstance);

	public abstract User findById(Integer id);

	public abstract List findByExample(User instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findAll();

	public abstract void attachDirty(User instance);

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.giantstones.ntdao.IUserDAO#attachClean(com.giantstones.ntmodel.User)
	 */
	public abstract void attachClean(User instance);

}